home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global g1erSprChr, gMaxBoutons
- repeat with i = g1erSprChr to gMaxBoutons
- puppetSprite(i, 1)
- end repeat
- end
-
- on exitFrame
- global gSujet0, gSujet1, gMessDef1, gMessSty1, gMessDef2, gMessSty2, g1erSprNav, g1erSprChr, g1erSprLoc, gMaxBoutons, gBoutons, gBarChron, gSurvolPrec, gEtudAct, gEtudPrec, gEtatEtud, gTraduit
- gBarChron(fleche, 0, 1, 1)
- Affiche_Date(gSujet0, "ZI1", "ZI2", "ZI3", 0)
- set monEpok to gSujet0(Le_Epoque)
- if (monEpok = 70) or (monEpok = 4) then
- gBoutons(habille, g1erSprLoc + 5, "vide")
- end if
- repeat with i = g1erSprChr to gMaxBoutons
- set the visible of sprite i to 1
- end repeat
- set monStatut to gSujet0(Le_Statut)
- if monStatut = "A" then
- gBoutons(appuie, g1erSprLoc + 4)
- set the visible of sprite (g1erSprNav + 2) to 1
- else
- gBoutons(appuie, g1erSprLoc + 5)
- set the visible of sprite (g1erSprNav + 2) to 0
- end if
- if gSujet1 = 0 then
- set gEtudAct to "GE"
- set gEtudPrec to " "
- set gEtatEtud to " "
- set gMessDef1 to getAt(gTraduit, 31)
- set gMessSty1 to "bold"
- set gMessDef2 to " "
- set gMessSty2 to "bold"
- else
- nothing()
- end if
- JukeBox(1, " ")
- curseur(-1)
- set gSurvolPrec to -1
- BigPurge()
- end
-